class inary:
    class source:
        name = "linux"
        homepage = "http://www.kernel.org"
        class packager:
            name = "Ali Riza KESKIN"
            email = "parduscix@yandex.ru"
        license = ['GPLv2']
        isa = ['kernel']
        partof = "kernel.linux"
        summary = "The Linux kernel (the core of the Linux operating system) for Sulin"
        description = "kernel contains the Linux kernel, the core of any Linux operating system. The kernel handles the basic functions of the operating system: memory allocation, process allocation, device input and output, etc."
        archive = [
            ("d4d58cbb4c093114d2ccc7d0b27ea725c60c36c3","https://cdn.kernel.org/pub/linux/kernel/v5.x/linux-5.16.2.tar.xz"),
        ]
        builddependencies = ['bc', 'docbook-xsl', 'xmlto']
        additionalfiles = [
            ("generate-module-list","generate-module-list"),
            (".config","config"),
        ]
        packages = ['pkg_linux', 'pkg_linux_module_headers', 'pkg_linux_headers']
    class pkg_linux:
        name = "linux"
        runtimedependencies = []
        files = [
            ("executable","/boot"),
            ("library","/lib/modules"),
            ("data","/etc/kernel"),
        ]
    class pkg_linux_module_headers:
        name = "linux-module-headers"
        runtimedependencies = []
        files = [
            ("header","/usr/src/"),
        ]
    class pkg_linux_headers:
        name = "linux-headers"
        runtimedependencies = []
        files = [
            ("header","/usr/include"),
        ]
    class history:
        update = [
            ["2022-01-01","5.16.2","First release","Ali Riza KESKIN","parduscix@yandex.ru"],
        ]
